﻿namespace MagicKey.Interfaces
{
    public interface IMagicKey
    {
        /// <summary>
        /// </summary>
        /// <returns></returns>
        IFileAccess GetFileAccess();
        IDatabase GetDatabase();
        /// <summary>
        ///     Gets an instance of the access manager.
        /// </summary>
        /// <returns>a a access manager interface object or null if password and username not match</returns>
        IAccessManager GetAccessManager();

        /// <summary>
        ///     Get an instance of a User Interface Component
        /// </summary>
        /// <returns>a usermanager object</returns>
        IUserManager GetUserManager();
    }
}